// detail页面的所有请求
import request from '../util/request'
//获取数据
export function getDeDrugApi(params){
  return request({
    url:'/retail',
    method:'get',
    params
  })
}

//删除单个请求api
export function deleteDrugApi(data){
  return request({
    url:'/retaildeleByid',
    method:"post",
    data:data
  })
}

//添加请求发送
export function addDrugApi(data){
  return request({
    url:'/adddruglist',
    method:"post",
    data:data
  })
}